package com.hc.conferencecheck.mapper;

import com.hc.conferencecheck.entity.QrCode;
import com.hc.conferencecheck.entity.QrCodeExample;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QrCodeMapper {
    long countByExample(QrCodeExample example);

    int deleteByExample(QrCodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QrCode record);

    int insertSelective(QrCode record);

    List<QrCode> selectByExample(QrCodeExample example);

    QrCode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QrCode record, @Param("example") QrCodeExample example);

    int updateByExample(@Param("record") QrCode record, @Param("example") QrCodeExample example);

    int updateByPrimaryKeySelective(QrCode record);

    int updateByPrimaryKey(QrCode record);
}